package cn.dm.controller;

import cn.dm.common.Dto;
import cn.dm.service.LocalBaseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@Slf4j
public class BaseController {

    @Resource
    private LocalBaseService localUserService;
    @PostMapping("/api/v/area/queryCityList")
    public Dto login() throws Exception {
        log.info("=====>城市列表查询");
        return localUserService.queryCitylist();
    }
}
